package com.link.po;

public class Account extends BasePO {
    
	private String name;
	private String password;
	private String displayName;
	private String email;
	private Role role;
	
	private boolean groupFlg;
	private boolean addDefaultFlag;
	
	
	//This property is not saved in database. In fact, in database, "password" is always encrypt.
	//We use this one for web tier check.(check cookie.)
	private String encryptPassword;

    public String getEncryptPassword() {
        return encryptPassword;
    }
    public void setEncryptPassword(String encryptPassword) {
        this.encryptPassword = encryptPassword;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getDisplayName() {
        return displayName;
    }
    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public Role getRole() {
        return role;
    }
    public void setRole(Role role) {
        this.role = role;
    }
    public boolean isAddDefaultFlag() {
        return addDefaultFlag;
    }
    public void setAddDefaultFlag(boolean addDefaultFlag) {
        this.addDefaultFlag = addDefaultFlag;
    }
    public boolean isGroupFlg() {
        return groupFlg;
    }
    public void setGroupFlg(boolean groupFlg) {
        this.groupFlg = groupFlg;
    }
}
